a = [1,"上午","网站运营与管理","下午","毛概理论",]
b = [2,"下午","广告心理学"]
c = [3,"上午","python语言","晚上","大学英语"]
d = [4,"上午","毛概实践","商品包装与广告设计","下午","散打"]
e = [5,"上午","API-机器学习与人工智能","下午","大学英语"]
riqi = input("请输入星期几（阿拉伯数字）")
riqi = int(riqi)
shijian = input("请输入时间（上午/下午/晚上）")
if riqi == a[0]:
    if shijian == a[1]:
        print(a[2])
    elif shijian == a[3]:
        print(a[4])
    else:
        print("没课")

elif riqi == b[0]:
    if shijian == b[1]:
        print(b[2])
    else:
        print("没课")

elif riqi == c[0]:
    if shijian == c[1]:
        print(c[2])
    elif shijian == c[3]:
        print(c[4])
    else:
        print("没课")

elif riqi == d[0]:
    if shijian == d[1]:
        print(d[2],d[3])
    elif shijian == d[4]:
        print(d[5])
    else:print("没课")

elif riqi == e[0]:
    if shijian == e[1]:
        print(e[2])
    elif shijian == e[3]:
        print(e[4])
    else:
        print("没课")
else:
    print("没课")
    
